838271dbbf45bebe36ed615b1487bcf271ca49f7,providers/http/src/java/org/mule/providers/http/HttpClientMessageDispatcher.java,HttpClientMessageDispatcher,doDispatch,#UMOEvent#,76
Before Change
{
HttpMethod httpMethod = execute(event, true);
if(httpMethod!=null) {
httpMethod.releaseConnection();
}
}
After Change
{
HttpMethod httpMethod = execute(event, true);
if(httpMethod!=null) {
httpMethod.releaseConnection();
if(httpMethod.getStatusCode() >= 400 ) {
throw new DispatchException(event.getMessage(), event.getEndpoint(),
new Exception("Http call returned a status of: " + httpMethod.getStatusCode() + " " + httpMethod.getStatusText()));